package com.gedeshidai.shumadevelop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.gedeshidai.shumadevelop.model.entity.Product;
import org.apache.ibatis.annotations.Param;


/**
* @author Romdon
* @description 针对表【products(商品基本信息表)】的数据库操作Mapper
* @createDate 2024-06-17 08:28:14
* @Entity com.gedeshidai.shumadevelop.model.entity.Product
*/
public interface ProductMapper extends BaseMapper<Product> {
    /**
     * 根据商品id更新代理人
     * @param afterproxyList
     * @param id
     */
    void updateProxyById(@Param("userProxy") String afterproxyList, @Param("id") Long id);

    /**
     * 根据商品id查询代理人
     * @param id
     * @return
     */
    String getProxysById(Long id);
}




